sudo: command not found - damaged PATH file in terminal. How to restore?
Hi, I was editing one of the PATH variables holding file (~/.bash_profile or somewhere deeper), something went wrong and now terminal can't find any program (i.e. nano) or use sudo.
The problem is that to edit that file I need to be admin, but I can't use sudo. Any ideas?